import request from '@/utils/request'

export function add(id, content, orderBy) {
    return request({
        url: '/api/notice/add.do',
        method: 'get',
        params:{
            id, content, orderBy
        }
  })
}

export function list() {
    return request({
        url: '/api/notice/list.do',
        method: 'get'
  })
}


export function del(id) {
    return request({
        url: '/api/notice/delete.do',
        method: 'get',
        params:{id}
  })
}